<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/register.css">
</head>

<body>
    <div class="wrapper">
        <div class="register-box">
            <h1>注册</h1>
            <div class="form">
                <input id = "username" type="text" placeholder="请输入用户名">
                <input id = "password" type="password" placeholder="请输入密码">
                <input id = "confirmPwd" type="password" placeholder="请再次输入密码">
                <button onclick="register()">注册</button>
                <div class="to-login">
                    若存在账号?返回<a href="javascript:void(0):;" onclick="toLLogin()">登录</a>
                </div>
            </div>
            <div class="image">
                <button class="open" onclick="openCamera()">打开摄像头</button>
                <button class="take" onclick="takephone()">拍照</button>
                <video id="video" width="180" height="180"></video>
                <canvas id="canvas" width="180" height="180"></canvas>
            </div>
        </div>
    </div>
    <script src="js/register.js"></script>
    <script src="js/jquery-3.2.1.min.js"></script>
</body>

</html>